• ADC and ML-020S-O Lux Sensor

    MicroPython luxsensor adc analog read
    2
    0 Votes
    2 Posts
    195 Views
    robert-hhR
    @tttadam If I understand the data sheet right, the orange should go to GND an the white to an Analog input, like P13 to P18. The uncovered one is shielding. You can put that to GND. The output range is small, 0-30mV, which means, that you will get no reasonable reading, because there is no reading at all below ~70mV. The value you read should mostly be 0. So you need to insert an amplifier. Edit: The ESP32 has an built-in amplifier. But that is not supported by the Pycom firmware and not by espressif itself.
  • Pycom Gpy ADC pins consumes 250mA ???

    GPy gpy analog read
    3
    0 Votes
    3 Posts
    656 Views
    T
    @robert-hh Got thanks it works!!